<me:UIJOB x:Class="WPFExcelReport.TSHAV13"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls"   
             mc:Ignorable="d" 
             x:Name="TV"
             xmlns:me="clr-namespace:WPFExcelReport"         
             Height="16"
             >
    <me:UIJOB.Resources>
        <ucd:BoolToVisibilityConverter  x:Key="bv"/>
    </me:UIJOB.Resources>
    <Border Cursor="Hand" x:Name="border" VerticalAlignment="Top" >
        <Grid>      
            <Grid.RowDefinitions>
                <RowDefinition Height="1*"/> 
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="1*"/>    
                <ColumnDefinition Width="Auto"/> 
            </Grid.ColumnDefinitions>
            <Grid  Name="imgCalendar" Visibility="Collapsed" >
                <TextBlock Text="{Binding Path=CONTENT}" Width="Auto"  Height="Auto"></TextBlock>
                <Rectangle  Height="10" >
                    <Rectangle.Fill>
                        <ImageBrush  ImageSource="/ImagePackage;component/Images/Slashs.png" Stretch="None" TileMode="Tile" Viewport="0,0,20,20" ViewportUnits="Absolute"></ImageBrush>
                    </Rectangle.Fill>
                </Rectangle>
            </Grid> 
            <Rectangle Name="imgProgress" Height="10" Grid.Column="0" Grid.ColumnSpan="2">
                <Rectangle.Fill>
                    <SolidColorBrush Color="Green" ></SolidColorBrush>
                </Rectangle.Fill>
            </Rectangle>
            <Rectangle  Height="10" Grid.Column="1"  Visibility="{Binding IsEnd, Converter={StaticResource ResourceKey=bv}}" >
                <Rectangle.Fill>
                    <ImageBrush  ImageSource="/ImagePackage;component/Images/OK.png" Stretch="None" TileMode="Tile" Viewport="0,0,20,20" ViewportUnits="Absolute"></ImageBrush>
                </Rectangle.Fill>
            </Rectangle>
        </Grid>
    </Border>
</me:UIJOB>
